#define _CRT_SECURE_NO_WARNINGS	

#include<stdio.h>

int main()
{
    int n, found = 0;
    scanf("%d", &n);
    for (int i = 0; i <= n / 3; i++)
    {
        for (int j = 0; j <= n / 2; j++)
        {
            if (n - 3 * i - 2 * j > 0 && i + j + (n - 3 * i - 2 * j) * 2 == n)
            {
                printf("Cock: %-4dHen: %-4dchick: %-3d\n", i, j, (n - 3 * i - 2 * j) * 2);
                found = 1;
            }
        }
    }
    if (!found)
    {
        printf("None\n");
    }
    return 0;
}